﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using SuperStar.Models;

namespace SuperStar.Controllers
{
    public class CategoryController : Controller
    {
        private readonly ProductTypeModels _productTypeModels = new ProductTypeModels();
        //
        // GET: /Category/

        public ActionResult View(int catId)
        {
            var productType = _productTypeModels.GetDetailProductCategory(catId);
            return View("View",productType);
        }

    }
}
